package com.java.entity;

import java.util.Date;

public class FlightInformation {


    private String flightNo;//航班号
    private String airlineNo;//航线号
    private String origin;//出发地
    private String destination;//目的地
    private String leaveTime;//出发时间
    private String arriveTime;//到达时间
    private int totalSeats;//总座位数
    private String price;//票价
    private String distance;//航距

    @Override
    public String toString() {
        return "flightInformation{" +
                "flightNo='" + flightNo + '\'' +
                ", airlineNo='" + airlineNo + '\'' +
                ", origin='" + origin + '\'' +
                ", destination='" + destination + '\'' +
                ", leaveTime='" + leaveTime + '\'' +
                ", arriveTime='" + arriveTime + '\'' +
                ", totalSeats=" + totalSeats +
                ", price='" + price + '\'' +
                ", distance='" + distance + '\'' +
                '}';
    }

    public String getFlightNo() {
        return flightNo;
    }

    public void setFlightNo(String flightNo) {
        this.flightNo = flightNo;
    }

    public String getAirlineNo() {
        return airlineNo;
    }

    public void setAirlineNo(String airlineNo) {
        this.airlineNo = airlineNo;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getLeaveTime() {
        return leaveTime;
    }

    public void setLeaveTime(String leaveTime) {
        this.leaveTime = leaveTime;
    }

    public String getArriveTime() {
        return arriveTime;
    }

    public void setArriveTime(String arriveTime) {
        this.arriveTime = arriveTime;
    }

    public int getTotalSeats() {
        return totalSeats;
    }

    public void setTotalSeats(int totalSeats) {
        this.totalSeats = totalSeats;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }
}
